<%@ Page Title="Applicant Interview" Language="C#" MasterPageFile="~/Views/Shared/Employee.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.Application>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
    Applicant Interview
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

<% using (Html.BeginForm("Interview", "StoreManagerInterview"))
    { %>
        <table class="staffingexpert" style="width: 650px" cellspacing="0" id="InterviewTable">  
            <thead>
            <tr>
                <th>Applicant</th>
                <th>Actions</th>
            </tr>
            </thead>
            
            <tbody>
            <tr>
                <td style="width: 325px;">    
                        <fieldset class="staffingexpert" style="width: 325px">                
                        <%= Html.Hidden("ApplicationID") %>
                        <%= Html.Hidden("UserID") %>
                        <%= Html.Hidden("Social_Security") %>
                        <%= Html.Hidden("Position1") %>
                        <%= Html.Hidden("Position2") %>
                        <%= Html.Hidden("Position3") %>

                        <p>
                            <label class="staffingexpert" for="First_Name">First Name:</label>
                            <%= Html.TextBox("First_Name", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("First_Name", "*")%>
                        </p>

                        <p>
                            <label class="staffingexpert" for="Middle_Name">Middle Name:</label>
                            <%= Html.TextBox("Middle_Name", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("Middle_Name", "*")%>
                        </p>

                        <p>
                            <label class="staffingexpert" for="Last_Name">Last Name:</label>
                            <%= Html.TextBox("Last_Name", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("Last_Name", "*")%>
                        </p>

                        <p>
                            <label class="staffingexpert" for="Street">Street:</label>
                            <%= Html.TextBox("Street", null, new { @class = "staffingexperttextbox", @style = "width:200px;" })%>
                            <%= Html.ValidationMessage("Street", "*")%>
                        </p>

                        <p>
                            <label class="staffingexpert" for="City">City:</label>
                            <%= Html.TextBox("City", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("City", "*")%>
                        </p>

                        <p>
                            <label class="staffingexpert" for="State">State:</label>
                            <%= Html.TextBox("State", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("State", "*")%>
                        </p>
        
                        <p>
                            <label class="staffingexpert" for="Phone_Number">Phone Number:</label>
                            <%= Html.TextBox("Phone_Number", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("Phone_Number", "*")%>
                        </p>
        
                        <p>
                            <label class="staffingexpert" for="Expected_Salary">Expected Salary:</label>
                            <%= Html.TextBox("Expected_Salary", null, new { @class = "staffingexperttextbox", @style = "width: 200px;" })%>
                            <%= Html.ValidationMessage("Expected_Salary", "*")%>
                        </p>
        
                        <p>
                            <label class="staffingexpert" for="Full_Time">Full Time?</label>
                            <%= Html.CheckBox("Full_Time", Model.Full_Time)%>
                            <%= Html.ValidationMessage("Full_Time", "*") %>
                            &nbsp&nbsp<label class="staffingexpert" for="Days">Days?</label>
                            <%= Html.CheckBox("Days", Model.Days)%>
                            <%= Html.ValidationMessage("Days", "*") %>
                        </p>
         
                        <p>
                            <label class="staffingexpert" for="Evenings">Evenings?</label>
                            <%= Html.CheckBox("Evenings", Model.Evenings)%>
                            <%= Html.ValidationMessage("Evenings", "*") %>
                            &nbsp&nbsp<label class="staffingexpert" for="Weekends">Weekends?</label>
                            <%= Html.CheckBox("Weekends", Model.Weekends)%>
                            <%= Html.ValidationMessage("Weekends", "*") %>
                        </p>
         
                        <p><input class="staffingexpert" type="submit" value="Save"/>
                        | <%= Html.ActionLink("Cancel", "Index")%></p>
                        </fieldset>
                </td>
                <td style="width: 325px;">
                    <fieldset class="staffingexpert" style="width: 325px">
                    <p>
                        <label class="staffingexpert">Jobs being applied for:</label>
                        <br/><%= Html.Encode(TempData["p1"]) %>
                        <br/><%= Html.Encode(TempData["p2"]) %>
                        <br/><%= Html.Encode(TempData["p3"]) %>
                    </p>
                    <p>
                        <label class="staffingexpert" for="Notes">Notes:</label>
                        <br/><%= Html.TextArea("Notes", null, new { @class = "staffingexpert", @style = "width: 300px; height: 200px" })%>
                        <%=Html.ValidationMessage("Notes", "*")%>
                    </p>
                     <p>
                        <label class="staffingexpert">Pass?</label>
                        <%= Html.CheckBox("Pass")%>
                    </p>
                    </fieldset>
                </td>
            </tr>
            </tbody>
        </table>
 <% } %>

</asp:Content>
